package com.jh.paymentchannel.business;

import cn.jh.common.exception.ServiceException;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface CongMingPayBusiness {
    List<Map<String, Object>> prePay(String shopId, BigDecimal money, String payType) throws ServiceException;

    Map<String, Object> toMicroPay(String shopId, BigDecimal money, String authCode) throws ServiceException;

    Map<String, Object> toBuyPay(String shopId, BigDecimal money) throws ServiceException;

    void prePayRedirectUrl(String resultCode, String resultMsg, String congMingShopId, BigDecimal money, String type, String timeEnd, String orderId, String outTradeNo, String sign);

    Map<String, Object> queryPay(String shopId, String orderId) throws ServiceException;
}
